<%-- 
    Document   : edit
    Created on : Nov 13, 2009, 9:19:56 PM
    Author     : fdcube
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>修改个人信息</title>
        <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
    </head>
    <body>
        <s:div cssClass="top">
            <s:include value="/header.jsp"/>
            <s:include value="/side.jsp"/>
        </s:div>
        <div align="center">
        <s:form name="editForm" action="UserAction!Edit" namespace="/user">
            <s:textfield readonly="true" label="用户名" value="%{#session.uname}" name="editForm.uname"/>
            <s:password label="旧密码" name="editForm.upwd"/>
            <s:password label="新密码" name="editForm.npwd"/>
            <s:password label="重复新密码" name="editForm.rnpwd"/>
            <s:textfield label="邮箱" value="%{#session.uemail}" name="editForm.uemail"/>
            <s:textfield label="关于你" value="%{#session.uabout}" name="editForm.uabout"/>
            <s:hidden name="returnUrl" value="/user/edit.jsp"/>
            <s:submit align="center" value="修改"/>
        </s:form>
        </div>
        <s:actionerror/>
    </body>
</html>
